/**
 * @Author: leibidong
 * @Description:cookie的随机数生成器
 * @File:  cookieUuid
 * @Version: 1.0.0
 * @Date: 2021/7/3 11:10
 */

package utils

import (
	uuid "github.com/satori/go.uuid"
	"strings"
)

/**
 * @Author leibidong
 * @Description 生成uuid，用于cookie使用
 * @Date  2021/7/11 17:39
 **/
func GetUUid() (uuidString string) {
	id := uuid.NewV4()
	ids := id.String()
	return strings.Replace(ids, "-", "", -1)
}
